projects
/
project
/
bcm63xx
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
729afa8
)
ARM: am57xx: cl-som-am57x: support for AM5718
author
Uri Mashiach
<
[email protected]
>
Wed, 17 May 2017 14:29:27 +0000
(17:29 +0300)
committer
Tom Rini
<
[email protected]
>
Mon, 5 Jun 2017 18:13:01 +0000
(14:13 -0400)
Disable SDRAM controller EMIF2 for single core SOC
Set SDRAM size size to 1GB
Signed-off-by: Uri Mashiach <
[email protected]
>
Reviewed-by: Tom Rini <
[email protected]
>
board/compulab/cl-som-am57x/spl.c
patch
|
blob
|
history
diff --git
a/board/compulab/cl-som-am57x/spl.c
b/board/compulab/cl-som-am57x/spl.c
index 855678fd5f45da4a7d3a07c8ef0ecaf3e000a492..de2dadc517593856bcda5a3b2a2da6ec94e92645 100644
(file)
--- a/
board/compulab/cl-som-am57x/spl.c
+++ b/
board/compulab/cl-som-am57x/spl.c
@@
-19,7
+19,12
@@
static const struct dmm_lisa_map_regs cl_som_am57x_lisa_regs = {
void emif_get_dmm_regs(const struct dmm_lisa_map_regs **dmm_lisa_regs)
{
+ /* Disable SDRAM controller EMIF2 for single core SOC */
*dmm_lisa_regs = &cl_som_am57x_lisa_regs;
+ if (omap_revision() == DRA722_ES1_0) {
+ ((struct dmm_lisa_map_regs *) *dmm_lisa_regs)->dmm_lisa_map_3 =
+ 0x80640100;
+ }
}
static const struct emif_regs cl_som_am57x_emif1_ddr3_532mhz_emif_regs = {